package com.engine4cloud.tdf.supervision.dto.query;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serializable;

/**
 * 矫正对象同案犯信息-请求对象
 *
 * @author wenjie
 * @date 2024-04-01 16:13:51
 */
@Data
@Schema(description = "矫正对象同案犯信息表-请求对象")
public class JzdxAccompliceQueryDTO implements Serializable {


    /**
     * 主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "主键")
    private Long id;

    /**
     * 社区矫正对象编号
     */
    @Schema(description = "社区矫正对象编号")
    @NotBlank(message = "矫正对象编号不能为空")
    private String rybh;

    /**
     * 姓名
     */
    @Schema(description = "姓名", example = "张三")
    private String xm;

    /**
     * 性别
     */
    @Schema(description = "性别", example = "1")
    private String xb;

}